<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>简历管理</title>
    <hdjs/>
    <js file="__GROUP__/static/js/js.js"/>
    <js file="__CONTROL_TPL__/js/js.js"/>
    <css file="__CONTROL_TPL__/css/css.css"/>
    <bootstrap/>
</head>
<body>
<div class="wrap">
    <table class="table2 hd-form">
        <thead>
        <tr>
            <td class="w30">ID</td>
            <td>职位名称</td>
            <td class="w100">招聘人数</td>
            <td class="w100">有效天数</td>
            <td class="w100">工作年限</td>
            <td class="w100">公司名称</td>
            <td class="w100">企业性质</td>
            <td class="w100">联系电话</td>
            <td class="w100">审核状态</td>
            <td class="w180">操作</td>
        </tr>
        </thead>
        <foreach from="$data" value="$v">
             <tr>
                <td class="w30">{$v.cpid}</td>
                <td><a href="">{$v.positionname}</a></td>
                <td><a href="">{$v.invitenum}</a></td>
                <td class="w100">{$v.validtime}</td>
                <td class="w100">{$v.workyear}</td>
                <td class="w100">{$v.companyname}</td>
                <td class="w100">{$v.nature}</td>
                <td class="w100">{$v.companynumber}</td>
                <td class="w100">{$v.verifystate}</td>
                <td class="w180">
                    <if value="$v['verifystate'] eq 1 || $v['verifystate'] eq 3">
                        <a href="{|U:'Pos/verify_on',array('cpid'=>$v['cpid'])}" class="btn btn-primary btn-xs">审核通过</a>
                    <else/>
                        <a href="{|U:'Pos/verify_off',array('cpid'=>$v['cpid'])}" class="btn btn-warning btn-xs">取消审核</a>
                    </if>
                    <a href="javascript:;" class="btn btn-danger btn-xs" onclick="if(confirm('确定删除吗？')) location.href='{|U:'Pos/del_pos',array('cpid'=>$v['cpid'])}'">删除</a>
                </td>
            </tr>
        </foreach>
    </table>
    <div class="page_hdjob">
        {$page}
    </div>
    <div class="h60"></div>
</div>

</body>
</html>